<html><head><title>GadgetX</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">GadgetX()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>GadgetX</b></font>(#Gadget [, Mode])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the X position of the specified gadget. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Gadget</i></td>
<td width="90%"> 
The gadget to use. 

</td></tr>
<tr><td><i>Mode (optional)</i></td>
<td> 
Mode can be one of the following value: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Gadget_ContainerCoordinate</font>: the gadget X position (in pixels) within its container, or window (default)
  <font color="#924B72">#PB_Gadget_WindowCoordinate</font>   : the absolute gadget X position (in pixels) within the window.
  <font color="#924B72">#PB_Gadget_ScreenCoordinate</font>   : the absolute gadget X position (in pixels) in the screen.
                                  It can be useful to display something over the gadget like a floating window or a popup menu.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the X position relative to the gadgets parent or window (in pixels). 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="gadgety.html">GadgetY()</a>, <a href="gadgetwidth.html">GadgetWidth()</a>, <a href="gadgetheight.html">GadgetHeight()</a>, <a href="resizegadget.html">ResizeGadget()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=gadgetwidth.html>GadgetWidth()</a> - <a href=index.html>Gadget Index</a> - <a href=gadgety.html>GadgetY()</a> ->

</body></html>